#pragma once


// CSetup dialog

class CSetup : public CDialog
{
	DECLARE_DYNAMIC(CSetup)

public:
	CSetup(CWnd* pParent = NULL);   // standard constructor
	virtual ~CSetup();

	afx_msg void OnTestConnect();
	afx_msg void OnCreateNew();
	afx_msg void OnBnClickedCheckSellType();

// Dialog Data
	enum { IDD = IDD_DIALOG_SETUP };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL PreTranslateMessage(MSG* pMsg);

	DECLARE_MESSAGE_MAP()
public:
	CString m_sHost;
	CString m_sUser;
	CString m_sPass;
	CString m_sDatabase;
	CButton m_checkSelect;

	void writeToRegistry();

	void createNewDatabase();
};
